# Contributor: Galen Abell <galen@galenabell.com>
# Maintainer: Galen Abell <galen@galenabell.com>
pkgname=py3-spinners
_pyname=spinners
pkgver=0.0.24
pkgrel=1
pkgdesc="Terminal spinners for Python"
url="https://github.com/manrajgrover/py-spinners"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
options="!check"  # no tests
source="$_pyname-$pkgver.tar.gz::https://pypi.python.org/packages/source/s/spinners/spinners-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="
1c6e46ae45bceff23bb0e518dd5823ee67f04dd6da0fda13ecd6808a610cbad40c04b7044f4a78bcf2bc0cb3e4891349a80801ecedb899a5f623a19724f056ea  spinners-0.0.24.tar.gz
"
